﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrainingCenterSystem.VocabularyManagement.Exceptions
{
    /// <summary>
    /// Represents an exception that can occur while reading a collection file
    /// </summary>
    [Serializable]
    public class CollectionFileReadingException:Exception
    {
        public string ErrorMessage
        {
            get { return base.Message.ToString(); }
        }

        public CollectionFileReadingException(string errorMessage)
            : base(errorMessage)
        {
        }


    }
}
